package main.niit.pojo;

public class Top10Category {
    // 定义类的字段
    private String taskId;
    private Long categoryId;
    private Long clickCount;
    private Long orderCount;
    private Long payCount;

    // 默认构造函数
    public Top10Category() {
    }

    // 带参数的构造函数
    public Top10Category(String taskId, Long categoryId, Long clickCount, Long orderCount, Long payCount) {
        this.taskId = taskId;
        this.clickCount = clickCount;
    }
    public Top10Category(String taskId,Long clickCount) {
            this.taskId = taskId;
            this.clickCount = clickCount;
    }

    // Getter和Setter方法
    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }




    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Long getClickCount() {
        return clickCount;
    }
    public void setClickCount(Long clickCount) {
        this.clickCount = clickCount;
    }

    public Long getOrderCount() {
        return orderCount;
    }

    public void setOrderCount(Long orderCount) {
        this.orderCount = orderCount;
    }

    public Long getPayCount() {
        return payCount;
    }

    public void setPayCount(Long payCount) {
        this.payCount = payCount;
    }

    // toString方法，用于打印对象信息
    @Override
    public String toString() {
        return "Top10Category{" +
                "taskId='" + taskId + '\'' +
                ", categoryId=" + categoryId +
                ", clickCount=" + clickCount +
                ", orderCount=" + orderCount +
                ", payCount=" + payCount +
                '}';
    }
}//点击数量Top10 热门品类
